package app.controller.core
{
	import app.model.flare.vos.StateVO;
	import app.view.mediators.FlareVizMediator;
	
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class SelectCurrentNodeCmd extends SimpleCommand
	{
		override public function execute(notification:INotification):void{
			var viz:FlareVizMediator =	FlareVizMediator( facade.retrieveMediator( FlareVizMediator.NAME ) )
			viz.interactive = false;
			viz.selectedState = StateVO( notification.getBody());
			
		}
		
	}
}